import type { App } from "vue";
import { IBizAppMenu } from "./app-menu";
import { IBizCaptionBar } from "./caption-bar";
import { IBizForm } from "./form";
import { IBizList } from "./list";
import { IBizMdCtrl } from "./md-ctrl";
import { IBizPanel } from "./panel";
import { IBizSearchBar } from "./search-bar";
import { IBizToolbar } from "./toolbar";
import { IBizViewLayout } from "./view-layout-panel";

export const IBizControl = {
  install(v: App) {
    v.use(IBizAppMenu);
    v.use(IBizCaptionBar);
    v.use(IBizForm);
    v.use(IBizList);
    v.use(IBizMdCtrl);
    v.use(IBizPanel);
    v.use(IBizSearchBar);
    v.use(IBizToolbar);
    v.use(IBizViewLayout);
  },
};
